package com.fanshilz.flower2025.business.flower.userIdentity.entity;

import com.fanshilz.flower2025.framework.mybatisflex.BaseEntity;
import com.fanshilz.flower2025.framework.mybatisflex.InsertOrUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

import java.io.Serializable;
import java.sql.Timestamp;


import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 *  实体类。
 *
 * @author fugui
 * @since 2024-11-25
 */
@EqualsAndHashCode(callSuper = true)
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "flower_user_identity", onInsert = InsertOrUpdateListener.class, onUpdate = InsertOrUpdateListener.class)
public class UserIdentity extends BaseEntity {

    @Id(keyType = KeyType.Auto)
    private Long identityId;

    private Integer identityTypeValue;

    private String identityTypeLabel;

    private String identityCompanyName;

    private Integer identityStatusValue;

    private String identityStatusLabel;

    private Boolean identitySwitch;

    private String identityRealName;

}
